<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" errorPage="DBError.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.carebuddy.petcare.biz.*"%>
<%@ page import="com.carebuddy.petcare.controller.*"%>
<%
		Carebuddy carebuddy = new Carebuddy();
		UserController userController = carebuddy.getUserController();
		
		userController.checkLogin(request,response);
%>
		<c:if test="${login == false}">
		<script>
			alert("아이디 또는 비밀번호가 맞지 않습니다.");
			history.go(-1);// 이전 페이지로 이동
		</script>
		</c:if>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>로그인처리</title>
</head>
<body>
</body>
</html>